/***************************************************************************
 * memhackitem.h
 * Copyright (C) 2010  Jared Bell
 *
 * This file is part of FreeESP.
 *
 * FreeESP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * FreeESP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with FreeESP.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Credits:
 * + compudaze <compudaze@gmail.com> - FreeESP author.
 * + SuperNovaAO <itshax.com> - posted his CoD6Wallhack180 source code &
 *   showed me how to access the console.
 * + R3B3L <gamedeception.net forums> - posted how to disable recoil.
 ***************************************************************************/

#ifndef MEMHACKITEM_H
#define MEMHACKITEM_H

#include <windows.h>
#include "bytelist.h"

class MemHackItem {
 public:
  MemHackItem(DWORD address, ByteList originalBytes, ByteList hackedBytes);
  DWORD GetAddress();
  ByteList GetBytes(bool isHackEnabled);
 private:
  DWORD address_;
  ByteList originalBytes_;
  ByteList hackedBytes_;
};

#endif /* MEMHACKITEM_H */